import Testing
@testable import AppDecoder

import Foundation

#if canImport(UIKit)
import UIKit
#endif

@Test func example() async throws {
    // Write your test here and use APIs like `#expect(...)` to check expected conditions.
    let param: [String:Any] = [
        "name": "我是大哥",
        "value": 99,
    ]
    let model = LsqDecoder.decode(AModel.self, param: param)
    print("这个模型是啥==>\(model)")
}

struct AModel: Codable {
    var name: String?
    var value: Int?
}
